package com.blb.edusearchservice.service;

import com.blb.edusearchservice.pojo.PageEntity;
import com.blb.pojo.Course;

import java.io.IOException;
import java.util.Map;

public interface ICourseIndexService {

    void initCourseIndex();
    PageEntity<Course> searchCoursePage(Map<String, String> map);
    void addOrUpdateCourse(Course course) throws IOException;
    void deleteCourse(String id) throws IOException;
}
